package cn.dac.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;

@ApiIgnore
@RestController
public class HelloController {
    @GetMapping("/")
    public String index(){
        return "Hello Spring Boot!";
    }
    @GetMapping("/hello")
    public String hello(){
        return "Hello world!";
    }
}
